<?php
/**
 * Fox Login Screen
 */
use Fox\Html\Screen;
use Fox\Html\Block;
use Fox\Html\Input;
use Fox\Html\Input\Password;
use Fox\Html\CheckBox;
use Fox\Html\Button;

$screen = new Screen('loginScreen','iconn');
$screen->buttonBarClass('text-center');
$screen->add(new Block('bLogin','Login'))
		->add(new Input(array('usrnm','email'),true,null,null))
			->size(20)->parentObject()
		->add(new Password('passw',true,null,'password'));
//$screen->add(new CheckBox("remember",false,CheckBox::RMODE_LEFT))
//			->label(Msg(Fox\Msg::BUNDLE,Fox\Msg::KEEP_ME_LOGGED));
$screen->buttons('iconn')->color(Button::COLOR_BLUE);
echo '<div class="banner">
		<img src="'._IMAGES_.'logo.gif">
		</div>
	<div id="login">'.$screen->render().'</div>';